package com.hmily.spring.samples.scanner.anno;

import com.hmily.spring.samples.scanner.MapperRegistrar;
import org.springframework.context.annotation.Import;

import java.lang.annotation.*;

/**
 * <h1>启动Mapper扫描的一个注解。</h1>
 *
 * @author hmilyylimh
 * ^_^
 * @version 0.0.1
 * ^_^
 * @date 2021-10-31
 */
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Import(MapperRegistrar.class)
public @interface EnableMapperScanner {

    String[] value() default {};
}